#!/usr/bin/env python
import rospy
from std_msgs.msg import Header

from group6.msg import DetectedObject


# create a dummy object list
# add new objects or change values as you please

def createObjectList():
    temp = []

    # OBJECT 1    
    obj = DetectedObject()
    #obj.header = rospy.Header()
    obj.object_id = "toy 1"  
    obj.x = 1.5
    obj.y = 0
    obj.z = 0.03
    temp.append(obj)

    # OBJECT 2    
    obj = DetectedObject()
    #obj.header = rospy.Header()
    obj.object_id = "toy 2"  
    obj.x = 2.35
    obj.y = 0.6
    obj.z = 0.03
    temp.append(obj)

    # OBJECT 3    
    obj = DetectedObject()
    #obj.header = rospy.Header()
    obj.object_id = "toy 3"  
    obj.x = 2.3
    obj.y = 2
    obj.z = 0.03
    temp.append(obj)

    # OBJECT 4   
    obj = DetectedObject()
    #obj.header = Header()
    obj.object_id = "toy 4"  
    obj.x = 2.2
    obj.y = 2.45
    obj.z = 0.03
    temp.append(obj)

    return temp

